package my.webservices.exception.resolver;

import org.springframework.ws.context.MessageContext;
import org.springframework.ws.server.EndpointExceptionResolver;

/**
 * VhsExceptionResolver resolves exceptions to a SOAP fault message.
 * 
 * @author Nilaksh Bajpai.
 */
public class VhsExceptionResolver implements EndpointExceptionResolver {

    /**
     * Could be implememnted if a more sophisticated exception resolver is
     * required.Currently exception handling done using
     * SoapFaultMappingExceptionResolver.
     * 
     * @see org.springframework.ws.server.EndpointExceptionResolver#resolveException(org.springframework.ws.context.MessageContext,
     *      java.lang.Object, java.lang.Exception).
     */
    public boolean resolveException(MessageContext messagecontext, Object obj,
            Exception exception) {
        return false;
    }

}
